from django.conf.urls import url
from . import views

urlpatterns = [
    #/pay/orders/(?P<order_id>)\d+/
    # 支付的url生成
    url(r'^orders/(?P<order_id>\d+)/$',views.PaymentView.as_view(),name='pay'),
    # 订单id的保存
    url(r'^status/$',views.PayStatusAPIView.as_view()),
]